<%-- 
    Document   : addPage
    Created on : Nov 19, 2013, 7:16:12 AM
    Author     : Liem
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="header.jsp"/>
<jsp:include page="leftbar.jsp"/>
<div class="main-wrapper">
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="primary-head">
                    <h3 class="page-header">Create New Page</h3>
                </div>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span12">
                <div class="profile-info">
                    <form action="addPage.action" class="form-horizontal">
                        <div class="control-group">
                            <label class="control-label">Page name:</label>
                            <div class="controls">
                                <input type="text" name="pagename"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Description:</label>
                            <div class="controls">
                                <textarea type="text" name="description"></textarea>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Facebook id:</label>
                            <div class="controls">
                                <input type="text" name="fbPageId"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Hashtag:</label>
                            <div class="controls">
                                <input type="text" name="hashtag"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">Cover image:</label>
                            <div class="controls">
                                <input type="text" name="imageLink"/>
                            </div>
                        </div>
                        <div class="control-group">
                            <button type="submit" class="btn btn-success">Create</button>
                            <button type="reset" class="btn">Cancel</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<jsp:include page="footer.jsp"/>
